#include "ProductTypeI.h"
#include "PartATypeI.h"
#include "PartBTypeI.h"
#include <iostream>

CProductTypeI* CProductTypeI::CreateProduct()
{
    std::cout << "Product TypeI" << std::endl;
    
    IProductPartAFactory* objPartA = new PartATypeI;
    objPartA->CreatePartA();

    IProductPartBFactory* objPartB = new PartBTypeI;
    objPartB->CreatePartB();

    return this;
}

